/**
 * @filename:PlusMinusType 2023-5-1
 * Copyright(c) 2022 Wonder Co. Ltd. 
 * All right reserved. 
 */
package com.wonder.app.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.io.Serializable;

/**   
 * @Description:TODO(后台充值类型实体类)
 * 
 * @author: Wonder
 * 
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sn_plus_minus_type")
@ApiModel(value="sn_plus_minus_type对象", description="后台充值类型表")
public class PlusMinusType extends Model<PlusMinusType> {

	private static final long serialVersionUID = 1682926404795200L;
	
	@TableId(value ="id", type = IdType.AUTO)
	@ApiModelProperty(name = "id" , value = "编号")
    private Long id;
    
    @TableField(value = "name") 	
	@ApiModelProperty(name = "name" , value = "类型")
    private String name;
    
    @TableField(value = "activity_type") 	
	@ApiModelProperty(name = "activity_type" , value = "活动类型")
    private String activity_type;
    
    @TableField(value = "type") 	
	@ApiModelProperty(name = "type" , value = "类型")
    private Integer type;
    

	@Override
    public Serializable pkVal() {
        return this.id;
    }
   
}
